package com.tencent.qf.team.service.impl;

import com.tencent.qf.team.dal.DmAppLeaderTaskShareVisit;
import com.tencent.qf.team.dao.DmAppLeaderTaskShareVisitMapper;
import com.tencent.qf.team.dto.request.LeaderTaskShareVisitRequest;
import com.tencent.qf.team.service.LeaderTaskShareService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class LeaderTaskShareServiceImpl implements LeaderTaskShareService {
    @Resource
    private DmAppLeaderTaskShareVisitMapper dmAppLeaderTaskShareVisitMapper;

    /**
     * 团长任务-查询有效分享数
     *
     * @param request
     * @retur
     */
    @Override
    public List<DmAppLeaderTaskShareVisit> leaderTaskShareVisit(LeaderTaskShareVisitRequest request) {
        List<DmAppLeaderTaskShareVisit> data = dmAppLeaderTaskShareVisitMapper.queryLeaderTaskShareVisit(request);
        return data;
    }
}
